package com.itheima.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author huyoufu <https://github.com/huyoufu>
 * @TIME 2020-08-13 09:21
 * @description
 */


@Controller
@RequestMapping("/users")
public class UserController {

    @RequestMapping("/login")
    public String login(
            @RequestParam("username") String username,
            @RequestParam("password")String password){

        System.out.println("获取参数:"+username+"--"+password);

        return "user/success";
    }







}
